//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.restaurant.application.indexes.genshanguserList.mysql;

import com.google.common.collect.Lists;
import com.nebutown.generation.Convert;
import com.nebutown.generation.PickableBean;
import com.nebutown.generation.basictype.UID;
import java.util.List;

public class GenShangUserListBean implements PickableBean {
    public static final String FN_RECORDID = "recordId";
    public static final String FN_USERUID = "userUid";
    public static final String FN_ID = "id";
    public static final String FN_NUMBER = "number";
    public static final String FN_CREATETIME = "createTime";
    public static final String FN_MODIFYTIME = "modifyTime";
    public static final String FN_AVATARURL = "avatarUrl";
    public static final String FN_NICKNAME = "nickName";
    public static final String FN_REALNAME = "realName";
    public static final String FN_GENDER = "gender";
    public static final String FN_PASSWORD = "password";
    public static final String FN_PHONE = "phone";
    public static final String FN_SHOPUID = "shopUid";
    public static final String FN_SHOPNAME = "shopName";
    public static final String FN_STATE = "state";
    public static final String FN_ROLENAMELIST = "roleNameList";
    public static final String FN_ADMINORNOT = "adminOrNot";
    public static final List<String> FIELD_NAMES = Lists.newArrayList(new String[]{"recordId", "userUid", "id", "number", "createTime", "modifyTime", "avatarUrl", "nickName", "realName", "gender", "password", "phone", "shopUid", "shopName", "state", "roleNameList", "adminOrNot"});
    private Long recordId;
    private UID userUid;
    private String id;
    private String number;
    private Long createTime;
    private Long modifyTime;
    private String avatarUrl;
    private String nickName;
    private String realName;
    private String gender;
    private String password;
    private String phone;
    private String shopUid;
    private String shopName;
    private String state;
    private String roleNameList;
    private String adminOrNot;

    public GenShangUserListBean(Long recordId, UID userUid, String id, String number, Long createTime, Long modifyTime, String avatarUrl, String nickName, String realName, String gender, String password, String phone, String shopUid, String shopName, String state, String roleNameList, String adminOrNot) {
        this.setRecordId(recordId);
        this.setUserUid(userUid);
        this.setId(id);
        this.setNumber(number);
        this.setCreateTime(createTime);
        this.setModifyTime(modifyTime);
        this.setAvatarUrl(avatarUrl);
        this.setNickName(nickName);
        this.setRealName(realName);
        this.setGender(gender);
        this.setPassword(password);
        this.setPhone(phone);
        this.setShopUid(shopUid);
        this.setShopName(shopName);
        this.setState(state);
        this.setRoleNameList(roleNameList);
        this.setAdminOrNot(adminOrNot);
    }

    public GenShangUserListBean() {
    }

    public GenShangUserListBean duplicate() {
        GenShangUserListBean result = new GenShangUserListBean();
        result.recordId = this.recordId;
        result.userUid = this.userUid;
        result.id = this.id;
        result.number = this.number;
        result.createTime = this.createTime;
        result.modifyTime = this.modifyTime;
        result.avatarUrl = this.avatarUrl;
        result.nickName = this.nickName;
        result.realName = this.realName;
        result.gender = this.gender;
        result.password = this.password;
        result.phone = this.phone;
        result.shopUid = this.shopUid;
        result.shopName = this.shopName;
        result.state = this.state;
        result.roleNameList = this.roleNameList;
        result.adminOrNot = this.adminOrNot;
        return result;
    }

    public String toString() {
        return Convert.toJson(this);
    }

    public Long getRecordId() {
        return this.recordId;
    }

    public void setRecordId(Long value) {
        this.recordId = value;
    }

    public GenShangUserListBean withRecordId(Long value) {
        this.setRecordId(value);
        return this;
    }

    public GenShangUserListBean withRecordId(Long value, Long defaultValue) {
        this.setRecordId(value == null ? defaultValue : value);
        return this;
    }

    public UID getUserUid() {
        return this.userUid;
    }

    public void setUserUid(UID value) {
        this.userUid = value;
    }

    public GenShangUserListBean withUserUid(UID value) {
        this.setUserUid(value);
        return this;
    }

    public GenShangUserListBean withUserUid(UID value, UID defaultValue) {
        this.setUserUid(value == null ? defaultValue : value);
        return this;
    }

    public String getId() {
        return this.id;
    }

    public void setId(String value) {
        this.id = value;
    }

    public GenShangUserListBean withId(String value) {
        this.setId(value);
        return this;
    }

    public GenShangUserListBean withId(String value, String defaultValue) {
        this.setId(value == null ? defaultValue : value);
        return this;
    }

    public String getNumber() {
        return this.number;
    }

    public void setNumber(String value) {
        this.number = value;
    }

    public GenShangUserListBean withNumber(String value) {
        this.setNumber(value);
        return this;
    }

    public GenShangUserListBean withNumber(String value, String defaultValue) {
        this.setNumber(value == null ? defaultValue : value);
        return this;
    }

    public Long getCreateTime() {
        return this.createTime;
    }

    public void setCreateTime(Long value) {
        this.createTime = value;
    }

    public GenShangUserListBean withCreateTime(Long value) {
        this.setCreateTime(value);
        return this;
    }

    public GenShangUserListBean withCreateTime(Long value, Long defaultValue) {
        this.setCreateTime(value == null ? defaultValue : value);
        return this;
    }

    public Long getModifyTime() {
        return this.modifyTime;
    }

    public void setModifyTime(Long value) {
        this.modifyTime = value;
    }

    public GenShangUserListBean withModifyTime(Long value) {
        this.setModifyTime(value);
        return this;
    }

    public GenShangUserListBean withModifyTime(Long value, Long defaultValue) {
        this.setModifyTime(value == null ? defaultValue : value);
        return this;
    }

    public String getAvatarUrl() {
        return this.avatarUrl;
    }

    public void setAvatarUrl(String value) {
        this.avatarUrl = value;
    }

    public GenShangUserListBean withAvatarUrl(String value) {
        this.setAvatarUrl(value);
        return this;
    }

    public GenShangUserListBean withAvatarUrl(String value, String defaultValue) {
        this.setAvatarUrl(value == null ? defaultValue : value);
        return this;
    }

    public String getNickName() {
        return this.nickName;
    }

    public void setNickName(String value) {
        this.nickName = value;
    }

    public GenShangUserListBean withNickName(String value) {
        this.setNickName(value);
        return this;
    }

    public GenShangUserListBean withNickName(String value, String defaultValue) {
        this.setNickName(value == null ? defaultValue : value);
        return this;
    }

    public String getRealName() {
        return this.realName;
    }

    public void setRealName(String value) {
        this.realName = value;
    }

    public GenShangUserListBean withRealName(String value) {
        this.setRealName(value);
        return this;
    }

    public GenShangUserListBean withRealName(String value, String defaultValue) {
        this.setRealName(value == null ? defaultValue : value);
        return this;
    }

    public String getGender() {
        return this.gender;
    }

    public void setGender(String value) {
        this.gender = value;
    }

    public GenShangUserListBean withGender(String value) {
        this.setGender(value);
        return this;
    }

    public GenShangUserListBean withGender(String value, String defaultValue) {
        this.setGender(value == null ? defaultValue : value);
        return this;
    }

    public String getPassword() {
        return this.password;
    }

    public void setPassword(String value) {
        this.password = value;
    }

    public GenShangUserListBean withPassword(String value) {
        this.setPassword(value);
        return this;
    }

    public GenShangUserListBean withPassword(String value, String defaultValue) {
        this.setPassword(value == null ? defaultValue : value);
        return this;
    }

    public String getPhone() {
        return this.phone;
    }

    public void setPhone(String value) {
        this.phone = value;
    }

    public GenShangUserListBean withPhone(String value) {
        this.setPhone(value);
        return this;
    }

    public GenShangUserListBean withPhone(String value, String defaultValue) {
        this.setPhone(value == null ? defaultValue : value);
        return this;
    }

    public String getShopUid() {
        return this.shopUid;
    }

    public void setShopUid(String value) {
        this.shopUid = value;
    }

    public GenShangUserListBean withShopUid(String value) {
        this.setShopUid(value);
        return this;
    }

    public GenShangUserListBean withShopUid(String value, String defaultValue) {
        this.setShopUid(value == null ? defaultValue : value);
        return this;
    }

    public String getShopName() {
        return this.shopName;
    }

    public void setShopName(String value) {
        this.shopName = value;
    }

    public GenShangUserListBean withShopName(String value) {
        this.setShopName(value);
        return this;
    }

    public GenShangUserListBean withShopName(String value, String defaultValue) {
        this.setShopName(value == null ? defaultValue : value);
        return this;
    }

    public String getState() {
        return this.state;
    }

    public void setState(String value) {
        this.state = value;
    }

    public GenShangUserListBean withState(String value) {
        this.setState(value);
        return this;
    }

    public GenShangUserListBean withState(String value, String defaultValue) {
        this.setState(value == null ? defaultValue : value);
        return this;
    }

    public String getRoleNameList() {
        return this.roleNameList;
    }

    public void setRoleNameList(String value) {
        this.roleNameList = value;
    }

    public GenShangUserListBean withRoleNameList(String value) {
        this.setRoleNameList(value);
        return this;
    }

    public GenShangUserListBean withRoleNameList(String value, String defaultValue) {
        this.setRoleNameList(value == null ? defaultValue : value);
        return this;
    }

    public String getAdminOrNot() {
        return this.adminOrNot;
    }

    public void setAdminOrNot(String value) {
        this.adminOrNot = value;
    }

    public GenShangUserListBean withAdminOrNot(String value) {
        this.setAdminOrNot(value);
        return this;
    }

    public GenShangUserListBean withAdminOrNot(String value, String defaultValue) {
        this.setAdminOrNot(value == null ? defaultValue : value);
        return this;
    }

    public Object getValueOf(String name) {
        byte var3 = -1;
        switch(name.hashCode()) {
            case -1249512767:
                if (name.equals("gender")) {
                    var3 = 9;
                }
                break;
            case -1034364087:
                if (name.equals("number")) {
                    var3 = 3;
                }
                break;
            case -860337847:
                if (name.equals("realName")) {
                    var3 = 8;
                }
                break;
            case -799234740:
                if (name.equals("recordId")) {
                    var3 = 0;
                }
                break;
            case -428646058:
                if (name.equals("avatarUrl")) {
                    var3 = 6;
                }
                break;
            case -345481567:
                if (name.equals("shopName")) {
                    var3 = 13;
                }
                break;
            case -147142523:
                if (name.equals("userUid")) {
                    var3 = 1;
                }
                break;
            case -70487969:
                if (name.equals("roleNameList")) {
                    var3 = 15;
                }
                break;
            case 3355:
                if (name.equals("id")) {
                    var3 = 2;
                }
                break;
            case 69737614:
                if (name.equals("nickName")) {
                    var3 = 7;
                }
                break;
            case 106642798:
                if (name.equals("phone")) {
                    var3 = 11;
                }
                break;
            case 109757585:
                if (name.equals("state")) {
                    var3 = 14;
                }
                break;
            case 673250273:
                if (name.equals("adminOrNot")) {
                    var3 = 16;
                }
                break;
            case 1211388583:
                if (name.equals("modifyTime")) {
                    var3 = 5;
                }
                break;
            case 1216985755:
                if (name.equals("password")) {
                    var3 = 10;
                }
                break;
            case 1369213417:
                if (name.equals("createTime")) {
                    var3 = 4;
                }
                break;
            case 2067072378:
                if (name.equals("shopUid")) {
                    var3 = 12;
                }
        }

        switch(var3) {
            case 0:
                return this.getRecordId();
            case 1:
                return this.getUserUid();
            case 2:
                return this.getId();
            case 3:
                return this.getNumber();
            case 4:
                return this.getCreateTime();
            case 5:
                return this.getModifyTime();
            case 6:
                return this.getAvatarUrl();
            case 7:
                return this.getNickName();
            case 8:
                return this.getRealName();
            case 9:
                return this.getGender();
            case 10:
                return this.getPassword();
            case 11:
                return this.getPhone();
            case 12:
                return this.getShopUid();
            case 13:
                return this.getShopName();
            case 14:
                return this.getState();
            case 15:
                return this.getRoleNameList();
            case 16:
                return this.getAdminOrNot();
            default:
                return null;
        }
    }

    public void setValueOf(String name, Object value) {
        byte var4 = -1;
        switch(name.hashCode()) {
            case -1249512767:
                if (name.equals("gender")) {
                    var4 = 9;
                }
                break;
            case -1034364087:
                if (name.equals("number")) {
                    var4 = 3;
                }
                break;
            case -860337847:
                if (name.equals("realName")) {
                    var4 = 8;
                }
                break;
            case -799234740:
                if (name.equals("recordId")) {
                    var4 = 0;
                }
                break;
            case -428646058:
                if (name.equals("avatarUrl")) {
                    var4 = 6;
                }
                break;
            case -345481567:
                if (name.equals("shopName")) {
                    var4 = 13;
                }
                break;
            case -147142523:
                if (name.equals("userUid")) {
                    var4 = 1;
                }
                break;
            case -70487969:
                if (name.equals("roleNameList")) {
                    var4 = 15;
                }
                break;
            case 3355:
                if (name.equals("id")) {
                    var4 = 2;
                }
                break;
            case 69737614:
                if (name.equals("nickName")) {
                    var4 = 7;
                }
                break;
            case 106642798:
                if (name.equals("phone")) {
                    var4 = 11;
                }
                break;
            case 109757585:
                if (name.equals("state")) {
                    var4 = 14;
                }
                break;
            case 673250273:
                if (name.equals("adminOrNot")) {
                    var4 = 16;
                }
                break;
            case 1211388583:
                if (name.equals("modifyTime")) {
                    var4 = 5;
                }
                break;
            case 1216985755:
                if (name.equals("password")) {
                    var4 = 10;
                }
                break;
            case 1369213417:
                if (name.equals("createTime")) {
                    var4 = 4;
                }
                break;
            case 2067072378:
                if (name.equals("shopUid")) {
                    var4 = 12;
                }
        }

        switch(var4) {
            case 0:
                this.setRecordId((Long)value);
                return;
            case 1:
                this.setUserUid((UID)value);
                return;
            case 2:
                this.setId((String)value);
                return;
            case 3:
                this.setNumber((String)value);
                return;
            case 4:
                this.setCreateTime((Long)value);
                return;
            case 5:
                this.setModifyTime((Long)value);
                return;
            case 6:
                this.setAvatarUrl((String)value);
                return;
            case 7:
                this.setNickName((String)value);
                return;
            case 8:
                this.setRealName((String)value);
                return;
            case 9:
                this.setGender((String)value);
                return;
            case 10:
                this.setPassword((String)value);
                return;
            case 11:
                this.setPhone((String)value);
                return;
            case 12:
                this.setShopUid((String)value);
                return;
            case 13:
                this.setShopName((String)value);
                return;
            case 14:
                this.setState((String)value);
                return;
            case 15:
                this.setRoleNameList((String)value);
                return;
            case 16:
                this.setAdminOrNot((String)value);
                return;
            default:
        }
    }

    public boolean hasField(String name) {
        return FIELD_NAMES.contains(name);
    }

    public int hashCode() {
        return this.signature().hashCode();
    }

    public boolean equals(Object o) {
        return !(o instanceof GenShangUserListBean) ? false : this.signature().equals(((GenShangUserListBean)o).signature());
    }

    public String signature() {
        throw new RuntimeException("Bean GenShangUserListBean has no signature defined, no hash code or equals possible.");
    }
}
